package com.yyplatform.admin.platform.generator.repository;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import com.yyplatform.admin.platform.generator.model.entity.GenColumnConfigEntity;

/**
 * Created on 2024-09-14
 */
public interface GenColumnConfigRepository extends JpaRepository<GenColumnConfigEntity, Long>,
        JpaSpecificationExecutor<GenColumnConfigEntity> {
    List<GenColumnConfigEntity> findByTableConfigId(Long tableConfigId);

    List<GenColumnConfigEntity> findByTableName(String tableName);

}
